package cn.itcast.service;

import cn.itcast.dao.AccountDao;
import cn.itcast.domain.Account;
import org.springframework.stereotype.Service;

import java.util.List;


public interface AccountService {

List<Account>findAll()throws Exception;

void delete(Integer id)throws Exception;

void add(Account account)throws Exception;

void update(Account account)throws Exception;



}
